<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Editor de carreras</title>
    </h:head>
    <h:body>
    <h:form id="frmCarrera">
        <h2>Editor de carreras</h2>
<!--        <span>Usuario: #{sessionScope.user_name}</span>
        <br />
        <span>Tipo: #{sessionScope.user_type} </span>
        <br />-->
        
        Nombre de la carrera: <br />
        <h:inputText id="txtCarrera" value="#{creaCarreraController.nombreCarrera}" />
        <br />
        
        
        <h:commandButton id="btnAgregar" value="Agregar carrera" action="#{creaCarreraController.guardaCarrera()}" />
        <br />
    </h:form>
    </h:body>
</html>

